import Cookies from 'js-cookie'

const tokenKey = 'ziciot-erp'

export const getToken = (): string | undefined => Cookies.get(tokenKey)
export const setToken = (token: string): void => {
  Cookies.set(tokenKey, token) 
}
export const removeToken = (): void => Cookies.remove(tokenKey)
